Scale MachineDeployments from the web dashboard - #3975
Conversation
|
Skipping CI for Draft Pull Request. |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. /close |
|
@kubermatic-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
- Introduced ScaleButtons component to handle scaling up and down of machine deployments. - Updated MachineDeploymentsTable to include available replicas and scale buttons. - Implemented scaleHandler to process scaling requests via POST method. - Added error handling for invalid requests in scaleHandler. - Updated server routing to include the new scale endpoint. Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
…pdates Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
- Introduced a new endpoint `/delete-machine` to handle machine deletion requests. - Added a `deleteMachineForm` struct to capture the namespace and name of the machine to be deleted. - Implemented logic to validate input, retrieve the machine object, and perform the deletion using the dynamic client. - Updated the `getNodes` and `getMachineDeployments` functions to include the `Unschedulable` field for nodes and changed the `Machines` field to a slice in the `machineDeployment` struct. Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
- Implemented `getPodsForNode` function to retrieve pods associated with a specific node. - Added `podsHandler` to handle GET requests for listing pods by node. - Introduced `deletePodHandler` for handling pod deletion requests. - Created a new `deletePodForm` struct to manage pod deletion form data. - Updated server routes to include endpoints for pods and pod deletion. Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
…ete-machine, and delete-pod endpoints Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
Signed-off-by: Artiom Diomin <artiom@kubermatic.com>
|
/test pull-kubeone-verify-boilerplate |
|
LGTM label has been added. DetailsGit tree hash: 1be43765a2de6f30a37c90f96667fbdacf6b7dc4 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: buraksekili The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
What type of PR is this?
/kind feature
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: